Skip to content

fix(s3tables): use 's3' as the default scheme#2313

Merged
blackmwk merged 1 commit intoapache:mainfrom
rchowell:s3
Apr 15, 2026
Merged

fix(s3tables): use 's3' as the default scheme#2313
blackmwk merged 1 commit intoapache:mainfrom
rchowell:s3

Conversation

@rchowell
Copy link
Copy Markdown
Contributor

@rchowell rchowell commented Apr 2, 2026

Which issue does this PR close?

What changes are included in this PR?

Changes the s3tables default scheme to "s3://"

Are these changes tested?

With this change, I can read files resolved through an s3table catalog now.

@xanderbailey
Copy link
Copy Markdown
Contributor

Looks like Java uses s3: as the default https://github.com/apache/iceberg/blob/main/aws/src/main/java/org/apache/iceberg/aws/s3/S3FileIO.java

Copy link
Copy Markdown
Contributor

@dannycjones dannycjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is the right change to make. It aligns with the Java catalog and with pre-0.9 behavior.

I'd like to try some testing of the following before a +1 here:

  • Trying to create a table or write to a table using 0.9
  • Then trying to read that table from this change.

I want to be more confident that we don't break anyone on 0.9.

Copy link
Copy Markdown
Contributor

@dannycjones dannycjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested this catalog (#2315) to verify it doesn't work at the moment so there shouldn't be anyone impacted upgrading from 0.9.0.

@rchowell
Copy link
Copy Markdown
Contributor Author

rchowell commented Apr 6, 2026

Thanks @dannycjones and @xanderbailey for checking this.

Copy link
Copy Markdown
Collaborator

@CTTY CTTY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @rchowell , thanks for the fix! while your fix makes a good sense, I think a cleaner approach is to just remove configured_scheme. Because storage now accepts fully-qualified locations, we can just extract schemes from the input paths. the configured_scheme seems unneeded to me. also see #2245

wdyt?

@rchowell
Copy link
Copy Markdown
Contributor Author

Hey @rchowell , thanks for the fix! while your fix makes a good sense, I think a cleaner approach is to just remove configured_scheme. Because storage now accepts fully-qualified locations, we can just extract schemes from the input paths. the configured_scheme seems unneeded to me. also see #2245

wdyt?

Sounds great, I'll update in the morning. I have been OOO. Thank you for looking at this.

Copy link
Copy Markdown
Contributor

@blackmwk blackmwk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rchowell for this fix!

@blackmwk blackmwk merged commit b06b573 into apache:main Apr 15, 2026
20 checks passed
CTTY pushed a commit that referenced this pull request Apr 15, 2026
…n/loading plus reading/writing (#2315)

## Which issue does this PR close?

- Extends #2313 with a test.

In particular, I've written a test that verifies creating a table and
writing to it, and then loading that table from the catalog and reading
from it using the default storage backend.

## What changes are included in this PR?

This adds a test that currently fails and will be passing once #2313 is
merged.

## Are these changes tested?

This change is only a new test.

Signed-off-by: Daniel Carl Jones <djonesoa@amazon.com>
CTTY pushed a commit that referenced this pull request Apr 17, 2026
## Which issue does this PR close?

- Closes #2312

## What changes are included in this PR?

Changes the s3tables default scheme to "s3://"

## Are these changes tested?

With this change, I can read files resolved through an s3table catalog
now.

(cherry picked from commit b06b573)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to read S3 Tables due to incorrect URL scheme

6 participants